package com.xiaoxu.intranetweb.mybatisplusSzappdb.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.entity.CWeightPicturesSampling;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoxu.intranetweb.mybatisplusWghticPicdb.entity.WeightPictures;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lvNuo
 * @since 2025-04-21
 */
@Component
@DS("wghticpic")
public interface CWeightPicturesSamplingMapper extends BaseMapper<CWeightPicturesSampling> {
    @Select( "select * from c_weight_pictures_sampling where WEIPIC_SHEETNO = #{weeisheetNo}")
    CWeightPicturesSampling selectBySheetNo(String weeisheetNo);
    @Select( "select WEIPIC_SAMP11 from c_weight_pictures_sampling where WEIPIC_SHEETNO = #{weeisheetNo}")
    CWeightPicturesSampling selectWeipicSamp11BySheetNo(String weeisheetNo);
}
